package com.wwj.code.login.token.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

@Data
@TableName(value = "user_token")
public class UserToken implements Serializable {
    public static final String COL_ID = "id";
    public static final String COL_CMC_UUID = "cmc_uuId";
    public static final String COL_CMC_USER_ID = "cmc_user_id";
    public static final String COL_CMC_LOGIN_TIME = "cmc_login_time";
    public static final String COL_CMC_CREATE_TIME = "cmc_create_time";
    public static final String COL_CMC_STATS = "cmc_stats";
    public static final String COL_CMC_DELETE_STATUS = "cmc_delete_status";
    public static final String COL_CMC_STATUS = "cmc_status";
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "cmc_uuId")
    private String uuid;
    @TableField(value = "cmc_user_id")
    private Integer userId;
    @TableField(value = "cmc_login_time")
    private Date loginTime;
    @TableField(value = "cmc_create_time")
    private Date createTime;
    @TableField(value = "cmc_stats")
    private Integer stats;
    @TableField(value = "cmc_delete_status")
    private Integer deleteStatus;
    @TableField(value = "cmc_status")
    private Integer status;
}